<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Test dynamic document referrer policy in shadowRoot</title>
</head>
<body>
<div>
<template shadowrootmode="open">
  <meta name="referrer" content="unsafe-url">
  <link rel="stylesheet" href="css1.py">
  <meta name="referrer" content="origin">
  <link rel="stylesheet" href="css2.py">
  <meta name="referrer" content="no-referrer">
  <link rel="stylesheet" href="css3.py">
</template>
</div>
</body>
<script src="../../common.js"></script>
<script>utils.loadShadowDoms();</script>
</html>
